-- 背景设置为黑色
backgroundColor = color 0 0 0
-- 删除所有灯光
delete lights
-- 设置默认渲染器
renderers.current = Default_Scanline_Renderer()
-- 设置渲染模式为Catmull_Rom 比较锐利清晰
scanlineRender.antiAliasFilter =Catmull_Rom()
-- 设置单位
units.DisplayType = #Metric 
units.MetricType = #Centimeters 
units.CustomUnit = #Centimeters
units.SystemType = #Centimeters 
-- units.SystemType = #inches 
-- 去环境贴图
useEnvironmentMap = off
-- 设置网格为10
units.SystemScale = 1 
SetGridSpacing(10)

-- 设置动画范围
-- Get the current animation range
-- animationRange
-- (interval 0f 100f)

-- -- Set range to frames 10 to 50
-- animationRange = interval 0 50
-- (interval 10f 50f)

-- -- Get the start frame of the range
-- animationRange.start
-- 10f

-- -- Get the end frame of the range
-- animationRange.end
-- 50f

-- -- To change the end frame of the interval only:
-- animationRange = interval animationRange.start 90f
-- (interval 10f 90f)